﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SX.Core.Auth
{
    public interface IPermissionHandler
    {
        /// <summary>
        /// 权限验证
        /// </summary>
        /// <param name="routeValues"></param>
        /// <returns></returns>
        Task<bool> ValidateAsync(IDictionary<string, string> routeValues, string httpMethod);

    }
}
